package com.atguigu.gulimall.product.feign;

import com.atguigu.gulimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-ware")
public interface WareFeignService {

    @RequestMapping("ware/wareinfo/info/{id}")
    public R info(@PathVariable("id") Long id);

}
